package project.pianpian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * description:
 * author :万霁初
 * date :2022/12/25 21:36
 **/
@Data
@AllArgsConstructor
@Alias("User")
public class User {
    @TableId(type = IdType.AUTO)
    int id;
    String name;
    String password;
    String avatar;
    String signature;
    String phone;
    int balance;
    String token;
    Date registerTime;
}
